Test Series - java script

Test Number 49/92

Q: 
A. 
B. 
C. 
D. 
Solution: 
Q: What is the purpose of a Rendering Engine?
A. Parsing objects in page
B. Drawing all objects in page
C. Both Parsing & Drawing all objects in page
D. Rendering object
Solution: It’s responsible for displaying the web page. The rendering engine parses the HTML and the CSS and displays the parsed content on the screen. A Rendering Engine is generally used for parsing and drawing all of the objects in the page.
Q: What is the purpose of the JavaScript Engine?
A. Compiling the JavaScript
B. Interpreting the JavaScript
C. Both Compiling & Interpreting the JavaScript
D. Parsing the javascript
Solution: The JavaScript Engine is generally used for interpreting the JavaScript. It is used to interpret the javascript and execute the javscript on the web page.
Q: Which layer is used to handle the HTTP requests?
A. Network Layer
B. Transport Layer
C. Application Layer
D. Presentation Layer
Solution: HTTP is a protocol which allows the fetching of resources, such as HTML documents. It is the foundation of any data exchange on the Web and a client-server protocol, which means requests are initiated by the recipient, usually the Web browser. The network layer is used to handle the HTTP requests.
Q: The User Interface is taken care of which layer?
A. Transport Layer
B. Network Layer
C. UI Layer
D. Presentation Layer
Solution: The user interface layer represents the front end of the Web Client, and contains the actual GUI elements that users view and click. The UI Layer takes care of the User Interface.
Q: Which of the following browsers use Webkit?
A. Chrome
B. Internet Explorer
C. Safari
D. Both Chrome and Safari
Solution: WebKit is a browser engine used in Apple’s Safari browser and other products. Webkit is what Chrome and Safari use, and is your target for most mobile web development since it is used as the layout or rendering engine for Android devices as well as mobile Safari for iOS devices and the Silk browser on Kindle Fires.
Q: Which of the following first developed Gecko?
A. Safari
B. Netscape
C. Opera
D. Internet Explorer
Solution: Gecko is the name of the layout engine developed by the Mozilla Project. Gecko was first developed at Netscape, before the Mozilla Project spun out as its own entity, as the successor to the original Netscape rendering engine, back in 1997.
Q: Which of the following render HTML?
A. Browsers
B. Email Clients
C. Web Components
D. All of the mentioned
Solution: Rendering Engine takes HTML code and interprets it into what you see visually. More tools than just browsers render HTML, including email clients and web components in other applications.
Q: SpiderMonkey was developed by _____________
A. Firefox
B. Internet Explorer
C. Safari
D. Opera
Solution: SpiderMonkey is Mozilla’s JavaScript engine written in C and C++. It is used in various Mozilla products, including Firefox, and is available under the MPL2. SpiderMonkey is the JavaScript engine made by Mozilla that is used in Firefox.
Q: Carakan is used by which of the following browsers?
A. Firefox
B. Internet Explorer
C. Safari
D. Opera
Solution: Opera uses Carakan, which was introduced in 2010. Mozilla uses spidermonkey and safari uses nitro javascript engine.
Q: Which is the alternate name for JavaScriptCore that is used by Safari?
A. Nitro
B. SpiderMoney
C. Carakan
D. V8
Solution: Safari uses JavaScriptCore, sometimes called Nitro. Opera uses Carakan and Mozilla uses SpiderMonkey.

You Have Score    /11